package com.xuecheng.learning.service;

import com.xuecheng.content.model.po.CoursePublish;
import com.xuecheng.learning.model.dto.XcChooseCourseDto;
import com.xuecheng.learning.model.dto.XcCourseTablesDto;
import com.xuecheng.learning.model.po.XcChooseCourse;
import com.xuecheng.learning.model.po.XcCourseTables;

public interface XcChooseCourseService {
    XcChooseCourseDto addChooseCourse(String userId, Long courseId);

    XcCourseTablesDto getLearningStatus(String userId, Long courseId);

    //添加免费课程,免费课程加入选课记录表、我的课程表
    XcChooseCourse addFreeCoruse(String userId, CoursePublish coursepublish);

    XcChooseCourse addChargeCoruse(String userId, CoursePublish coursepublish);

    public boolean saveChooseCourseSuccess(String chooseCourseId);
}
